 <div class="span-19">


                <div id="content">

                    <h1>List Line</h1>
                    <?php foreach($line as $item) :?>
                        <div class="view">
                            <?php
                            echo 'ID: <a href="' .base_url('line/view/'.$item['id']). '">' .$item['id']. '</a><br />';
                            echo "Code: $item[code]<br />";
                            echo "Start Time Operation: $item[start_time_operation]<br />";
                            echo "End Time Operation: $item[end_time_operation]<br />";
                            echo "Type: $item[type]<br />";
                            echo "Map: <br />";
                            echo '<img src="' .base_url('uploads/lines/'.$item['map']). '" alt="Map" class="map"/>';
                            ?>
                        </div>
                    <?php endforeach; ?>
                    <div style="text-align:center;"><?php echo $pagination_links; ?></div>
                </div> <!-- content -->
</div>
<div class="span-5 last">
    <div id="sidebar">
        <div class="portlet" >
            <div class="portlet-decoration">
                <div class="portlet-title">Operations</div>
            </div>
            <div class="portlet-content">
                <ul class="operations" >
                    <li><a href="<?php echo base_url();?>line/index">Create Line</a></li>
                    <li><a href="<?php echo base_url();?>line/manage">Manage Line</a></li>
                </ul></div>
        </div>	
    </div><!-- sidebar -->
</div>
